package org.com.yz.dal.dao.mapper;

import org.apache.ibatis.annotations.Param;
import org.com.yz.dal.dao.model.HisAccntMchSub;
import util.MyMapper;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 子商户账户信息---资金明细表 Mapper 接口
 * </p>
 *
 * @author fjj123
 * @since 2018-06-14
 */
public interface HisAccntMchSubMapper extends MyMapper<HisAccntMchSub> {

    List<HisAccntMchSub> selectHisAccntMchSub(HisAccntMchSub hisAccntMchSub);

    List<HisAccntMchSub> selectHisAccntMchSubInfo(@Param("mchNo")String mchNo, @Param("orderNo")String orderNo);

    List<HisAccntMchSub> selectHisAccntMchSubInfoByTransNo(@Param("mchNo")String mchNo, @Param("transNo")String transNo);

    List<HisAccntMchSub> selectHisAccntProfile(String mchNo, String orderNo);

    void updateHisMchSubByTime(HisAccntMchSub hisAccntMchSub);

    void updateHisMchSubByTime(@Param("mchNo")String mchNo,@Param("dates") String dates, @Param("amount")Long amount,@Param("mchAccntNo")String mchAccntNo);
}
